package com.gzxx.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author MAX
 * @date 2020/7/22 6:10 下午
 */
@Data
@ApiModel(value = "用户返回数据传输实体", description = "用户返回数据传输实体")
public class SysUserVo implements Serializable {

    private static final long serialVersionUID = 4194254339392726829L;

    @ApiModelProperty(value = "id", example = "12")
    private Long id;

    @ApiModelProperty(value = "登录账户", example = "12")
    private String userAccount;

    @ApiModelProperty(value = "员工姓名", example = "张三")
    private String employeeName;

    @ApiModelProperty(value = "邮箱", example = "123@qq.com")
    private String email;

    @ApiModelProperty(value = "手机号", example = "18600000000")
    private String mobile;

    @ApiModelProperty(value = "性别 0女,1男", example = "0")
    private String gender;

    @ApiModelProperty(value = "头像", example = "http://")
    private String avatar;

    @ApiModelProperty(value = "状态 0启用 1禁用", example = "0")
    private Integer accountStatus;

    @ApiModelProperty(value = "创建时间", example = "2005-08-08 09:09:09")
    private Date createTime;

    @ApiModelProperty(value = "角色名称", example = "管理员")
    private String roleName;

    @ApiModelProperty(value = "角色名称", example = "管理员，客服")
    private String roleNames;

    @ApiModelProperty(value = "角色id", example = "12")
    private Long roleId;

    @ApiModelProperty(value = "角色ids 多个", example = "[12,34]")
    private List<Long> roleIds;

    @ApiModelProperty(value = "一级部门id", example = "12")
    private Integer firstDeptId;

    @ApiModelProperty(value = "一级部门名称", example = "管理员")
    private String firstDeptName;

    @ApiModelProperty(value = "二级部门id", example = "12")
    private Integer secondDeptId;

    @ApiModelProperty(value = "二级部门名称", example = "管理员")
    private String secondDeptName;

    @ApiModelProperty(value = "部门id", example = "[1,2]")
    private List<Integer> deptIds;
}
